//
//  TeacherModel2.swift
//  ArchitectGenerics
//
//  Created by 姚胜龙 on 2017/6/13.
//  Copyright © 2017年 姚胜龙. All rights reserved.
//

import UIKit

//深度拷贝测试的具体类 老师类
class TeacherModel2: DeepCopyProtocal {
    
    var name:String?

    init(name:String) {
        self.name = name
    }

    func deepClone() -> AnyObject? {
        return TeacherModel2(name: self.name!)
    }
}
